<template>
	<b-layout-index>
		<navbar :isStyle="light" bgcolor="#fff" :title="$t('意见反馈')"></navbar>
		<u--form labelWidth="100" labelPosition="left" :model="form" :rules="rules" ref="form1">
			<view class="bg-white  pd-10">

				<u-form-item :label="$t('意见反馈')" borderBottom prop="form.remark" borderBottom ref="item1">
					<u--textarea v-model="form.remark" :placeholder="$t('请输入意见反馈')"></u--textarea>
				</u-form-item>
				<u-form-item :label="$t('姓名')" prop="form.name" borderBottom ref="item1">
					<u--input v-model="form.repassword" :placeholder="$t('请输入姓名')" border="none"></u--input>
				</u-form-item>
				<u-form-item :label="$t('手机号')" prop="form.phone" borderBottom ref="item1">
					<u--input v-model="form.newpassword" :placeholder="$t('请输入手机号')" border="none"></u--input>
				</u-form-item>

			</view>

		</u--form>

		<view class="mg-top-10 pd-20">

			<u-button shape="circle" type="primary" @click="submit">{{$t('提交')}}</u-button>
		</view>


	</b-layout-index>
</template>

<script>
	export default {
		data() {
			return {


				form: {
					name: '',
					phone: '',
					remark: ""
				},




				rules: {
					'userInfo.name': {
						type: 'string',
						required: true,
						message: '请填写姓名',
						trigger: ['blur', 'change']
					},
					'userInfo.qq': {
						type: 'string',
						required: true,
						message: '请填写QQ号',
						trigger: ['blur', 'change']
					},
					'userInfo.address': {
						type: 'string',
						required: true,
						message: '请填写联系地址',
						trigger: ['blur', 'change']
					},

				},
				radio: '',
				switchVal: false
			};
		},
		methods: {
			confirm(e) {
				var value = e.value[0]
				this.form.bank = value;
				console.log('confirm', e)
				this.bankCardFlag = false
			}
		}
	}
</script>

<style>
</style>